﻿<?xml version="1.0" encoding="utf-8" ?>
<song  xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
	   xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
	   xmlns:fx="clr-namespace:LearnWPF.Effects;assembly=LearnWPF.Effects"
	   xmlns:c="clr-namespace:CrazyClient;assembly=CrazyClient"
	   xmlns:video="clr-namespace:AvCapWPF;assembly=AvCapWPF"
	   xmlns:s="clr-namespace:CrazyWorship1;assembly=CrazyWorship1">

	<info>
		<SongName>TEST - Video Fade Test</SongName>
		<Author>TEST</Author>
		<Copyright>TEST</Copyright>
		<CCLI>TEST</CCLI>
	</info>

	<screens>
		<all>
			<c:SetData c:DataName="LyricControl1" c:Value="1"></c:SetData>
			<c:SetData c:DataName="Test1" c:Value="1"></c:SetData>
			<c:SetData c:DataName="Test2" c:Value="1"></c:SetData>
			

			<c:LyricPanel c:Id="1" c:LyricControl="{Binding Path=Data.LyricControl1}">
				<TextBlock>Fade Test - F5-O1</TextBlock>
			
				<c:LyricPanel.TransitionIn>
					<c:FadeIn To="1" Duration="0:0:5" />
				</c:LyricPanel.TransitionIn>
				<c:LyricPanel.TransitionOut>
					<c:FadeOut To="0" Duration="0:0:5"  />
				</c:LyricPanel.TransitionOut>
			</c:LyricPanel>
			
			<c:LyricPanel c:Id="2" c:LyricControl="{Binding Path=Data.LyricControl1}">
				<TextBlock>Test 2 - F5-O0.5</TextBlock>
				<c:LyricPanel.TransitionIn>
					<c:FadeIn To="0.5" Duration="0:0:5"/>
				</c:LyricPanel.TransitionIn>
				<c:LyricPanel.TransitionOut>
					<c:FadeOut To="0" Duration="0:0:5" />
				</c:LyricPanel.TransitionOut>
			</c:LyricPanel>
			
			<c:LyricPanel c:Id="3" c:LyricControl="{Binding Path=Data.LyricControl1}">
				<TextBlock>Test 3</TextBlock>
			</c:LyricPanel>
			<c:LyricPanel c:Id="4" c:LyricControl="{Binding Path=Data.LyricControl1}">
				<video:CapPlayer x:Name="player"/>
				<c:LyricPanel.TransitionIn>
					<c:FadeIn To="0.5" Duration="0:0:5"/>
				</c:LyricPanel.TransitionIn>
				<c:LyricPanel.TransitionOut>
					<c:FadeOut To="0" Duration="0:0:5" />
				</c:LyricPanel.TransitionOut>
			</c:LyricPanel>
			
		</all>
		<screen id="1">
			<lyric type="verse" order="test1" preview="What can I say">
				<textbox>What can I say</textbox>
			</lyric>
			<lyric type="verse" order="test2" preview="What can I do">
				<textbox>What can I do</textbox>
			</lyric>
			<lyric type="chorus" order="test3" preview="You have made me">
				<textbox>You have made me</textbox>
			</lyric>
			<background color="{MIDI A}" />
		</screen>
		<screen id="2">
			<lyric type="chorus" order="test4" preview="You have saved me">
				<textbox>You have saved me</textbox>
			</lyric>
			<background color="red" />
		</screen>
		<screen id="3">
			<Video file="whatever" />
				<background color="{MIDI A}" />
				
		</screen>
	</screens>
	<controllers>
		<s:LyricController LyricControlName="LyricControl1">
		</s:LyricController>
<!--		<c:colorControl slider="{MIDI 1,2,3}" name="MIDI A">
		</c:colorControl>
-->	</controllers>
</song>